package com.mopon.test.mvc;

import java.util.HashMap;
import java.util.Map;

import com.smart.framework.mvc.annotation.Action;
import com.smart.framework.mvc.annotation.Request;
import com.smart.framework.mvc.bean.Result;

@Action
public class UserAction {

	@Request.Get("hello")
	public Result hello(String str) {
		Result result = new Result(true);
		Map<String, String> dataMap = new HashMap<String, String>();
		dataMap.put("retStr", "Hello " + str);
		return result;
	}
}
